package com.zrwl.poscloud.xo.vo;
import com.zrwl.poscloud.commons.vo.BaseVO;
import lombok.Data;
/**
 * 人员机构变动 VO类
 *
 * @author 刘思童 AutoGenerate
 * @date 2023-02-27
 */
@Data
public class EmployeeDeptRecordVO extends BaseVO<EmployeeDeptRecordVO> {
    private static final long serialVersionUID = 1L;
    private String employeeUid;
    private String newDeptUid;
    private String oldDeptUid;
    private String reason;
    private String oldDeptName;
    private String employeeName;
    private String employeeCode;
    private String newDeptName;
    private int hasEmployeeRecord;
    private int changeRecord;
    private String companyCode;
    private String[] deptRoleTree;
    private String employeeNameEndWith;

   public  boolean generateResume(){
       return this.hasEmployeeRecord == 1;
   }
}
